GXJobFormatModeQuery
QuickDraw GX sends theGXJobFormatModeQuery
message when the application requests or sets format mode information. You can override theGXJobFormatModeQuery
message to provide support for direct modes. Your override of theGXJobFormatModeQuery
message must match the following formal declaration:
void MyJobFormatModeQuery (gxQueryType aQueryType, void *srcData, void *dstData);
aQueryType
- The type of query being performed.
srcData
- A pointer to the input data for the query.
dstData
- A pointer to the output (result) data for the query.
DESCRIPTION
QuickDraw GX sends theGXJobFormatModeQuery
message when an application calls theGXJobFormatModeQuery
function to get or set additional format-mode information.The type of query made by the application is specified in the
aQueryType
parameter, the possible values of which are listed and described in the "Advanced Printing Features" chapter in Inside Macintosh: QuickDraw GX Printing. Use of thesrcData
anddstData
parameters is described in the same chapter.You only need to override this message if you support job format modes. Based on the query from the application, you provide the requested information.
The default implementation of the
GXJobFormatModeQuery
message does nothing.SPECIAL CONSIDERATIONS
You never send theGXJobFormatModeQuery
message yourself.You must forward the
GXJobFormatModeQuery
message to other message handlers.SEE ALSO
You can find an example of an overide of theGXJobFormatModeQuery
message in Listing 3-10 on page 3-34 in the chapter "Printer Drivers."The
GXJobFormatModeQuery
function, including the types of queries that you can make and the use of thesrcData
anddstData
parameters, is described in Inside Macintosh: QuickDraw GX Printing.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help